package net.zjitc.lib.Share.volatile1;

public class ShareTest {
    public static void main(String[] args) {
        ShareClass shareClass = new ShareClass();
        Thread produce = new Thread(new Producer(shareClass));
        Thread consumer = new Thread(new Consumer(shareClass));
        produce.start();
        consumer.start();
    }
}
